
var theme = "ios";
var mode = "scroller";
var display = "bottom";
var lang="zh";
$(function(){

// Select demo initialization
$('#demo_select').mobiscroll().select({
    theme: theme,    
    mode: mode,      
    display: display, 
    lang: lang       
});

// Date demo initialization
$('#demo_date').mobiscroll().date({
    theme: theme,
    mode: mode,
    display: display,
    lang: lang
});

// Date & Time demo initialization
$('#demo_datetime').mobiscroll().datetime({
    theme: theme,
    mode: mode,
    display: display,
    lang: lang,
    dateFormat:"yyyy-mm-dd",
    minDate: new Date(2000,3,10,9,22),
    maxDate: new Date(2030,7,30,15,44),
    stepMinute: 1
});

$('#demo_endtime').mobiscroll().datetime({
    theme: theme,
    mode: mode,
    display: display,
    lang: lang,
    dateFormat:"yyyy-mm-dd",
    minDate: new Date(2000,3,10,9,22),
    maxDate: new Date(2030,7,30,15,44),
    stepMinute: 1
});

// Time demo initialization
$('#demo_time').mobiscroll().time({
    theme: theme,
    mode: mode,
    display: display,
    lang: lang
});



});

